import HeaderSs from "../conent/header_ss.js"
import Hbanertop from "../conent/swiper_home_top.js"
import Henav from "../conent/nav_home.js"
import Hbanertop2 from "../conent/swiper_home_top2.js"
import Hgoodslist from "../conent/goodslist_home.js"
import Hfootertop from "../conent/footer_home_top.js"
import Hfooterbom from "../conent/footer_home_bom.js"

export default React.createClass({ 
	render : function(){
		var that = this
		setInterval(function(){
 			//console.log(that.props.data.homeinit)
 		},1000)
			return(
			<div>
				<header>
			 		<HeaderSs/> 
				</header>
				<Hbanertop data={this.props.data.homebanner}/>
				<Henav/>
				<Hbanertop2/>
				<img className="home_te" src={this.props.data.homeimg}/>
				<div>
					<Hgoodslist data={this.props.data.homegoods}/>
				</div>
				<Hfootertop data={"登录"} data2={"注册"}/>
				<Hfooterbom/>
			</div>
		)
	}
})
